﻿package phpas3{

	public function in_array( needle:*, haystack:Array ):Boolean{
		// Search variable needle in array haystack
		var itemIndex:int = haystack.indexOf( needle );
		return ( itemIndex < 0 ) ? false : true;
	}

}